#-------------------------------------------------
#
# Project created by QtCreator 2016-04-20T10:08:32
#
#-------------------------------------------------

QT       += core gui network

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets


TARGET = VrepRemoteControlor
TEMPLATE = lib
DEFINES += VREPREMOTECONTROLOR_LIBRARY
CONFIG += staticlib
DESTDIR =/agvwork/AgvFundation/fundation/lib


include(./vrep_remote_api.pri)


SOURCES += vrepobject.cpp \
        vreptest.cpp \
        vrepcontrol.cpp

HEADERS += \
    vrepobject.h \
    vreptest.h \
    vrepcontrol.h

FORMS +=  vreptest.ui


###添加编译器参数
LIBS = -ldl
#LIBS += /opt/V-REP_PRO_EDU_V3_3_0_64_Linux/libv_rep.so

INCLUDEPATH += ../HmiGsoapQt



#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =/agvwork/AgvFundation/fundation/lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =/agvwork/AgvFundation/fundation/lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =/agvwork/AgvFundation/fundation/lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}

